﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sunboxsoft.ASMS.Server.Domain.Entity
{
    /// <summary>
    /// 资金修改记录(流水明细)
    /// </summary>
    public class ECapitalChangedRecord
    {
        public Guid Id { get; set; }

        /// <summary>
        /// 商家Id
        /// </summary>
        public Guid BusinessId { get; set; }

        /// <summary>
        /// 店铺Id
        /// </summary>
        public Guid StationId { get; set; }

        /// <summary>
        /// 单据编号
        /// </summary>
        public string BillNumber { get; set; }

        /// <summary>
        /// 相关单据Id
        /// </summary>
        public Guid BillId { get; set; }

        /// <summary>
        /// 单据类型
        /// </summary>
        public int BillType { get; set; }

        public int ChangedType { get; set; }

        /// <summary>
        /// 变动参与者(付款方/收款方)
        /// </summary>
        public string CapitalRole { get; set; }

        public int? CapitalRoleType { get; set; }


        public decimal Amount { get; set; }
        public DateTime CreatedTime { get; set; }
        public string Creator { get; set; }
    }
}
